<?php

namespace ApplicationsModule\PeopleModule;

/**
 * Contact service describes how every contact service 
 * in the people application should look like. Every
 * method in this interface is implemented by DummyContactService
 * as NOT_PROVIDED and further extened by specific
 * contact service.
 * 
 * @author pavel
 */
interface IContactService {

    static function getServiceName();
    
    static function providedRows();

    function addPerson(Person $person, array $other_info = null);
    
    function getIdentifier($personId);

    // optional methods

    function getMail($personId);

    function search($name);
}
